Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize setup #4

Open
wants to merge 6 commits into
base: support-model-import
Choose a base branch
from
Open

Dockerize setup #4

wants to merge 6 commits into from

Conversation

tdahar
Copy link

@tdahar tdahar commented May 28, 2024

Motivation

Right now the current setup allows the deployment through linux services. However, being able to deploy the through docker would allow anyone to easily run the full setup with a single command. With this Pull Request, we intend to develop the needed files to deploy the application with Docker.

Description

We need to create a docker-compose file and allow all the needed variables through the environment variables.

TODOs:

  • Create docker compose file
  • Forward all the needed environment variables into the application

Proof

Notes

We still need to figure out what is the best way to use the model inside the application, we we need to provide the path and mount the volume so that it is accesible.

santi1234567 and others added 6 commits May 16, 2024 11:24
* rename knn_classifier to classifier

* remove deprecated file

* support changing classifier type

* add classifier type flag

* update readme

* linting
* rename knn_classifier to classifier

* remove deprecated file

* support changing classifier type

* add classifier type flag

* update readme

* linting

* Add method to import persisted model and allow user to set env variable

* pickle is not needed anymore in the server file

* add workaround for using pickle with gunicorn

* linting

---------

Co-authored-by: Tarun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants